package rkdwogus7;

public class Q81_Sil {

	public static void main(String[] args) {
		
		
		
	}

	
	
}

class Member {
	private String bName;
	private String bId;
	private String bBirth;
	private int bSecurityno;
	private String bAddr;
	private int bTel;
	private int bCp;
	private String dName;
	private String dId;
	private String dBirth;
	private int dSecurityno;
	private String dAddr;
	private int dTel;
	private int dCp;
	private String dOnmarket;
	private String dCredit;
	private int dCorpno;
	private String result = "";
	private String result2 = "";
	
	public Member() { }
	public Member(String bName, String bId, String bBirth, int bSecurityno, String bAddr, int bTel, int bCp) {
		this.bName = bName;
		this.bId = bId;
		this.bBirth = bBirth;
		this.bSecurityno = bSecurityno;
		this.bAddr = bAddr;
		this.bTel = bTel;
		this.bCp = bCp;
	}
	public Member(String dName, String dId, String dBirth, int dSecurityno, String dAddr, int dTel, int dCp, String dOnmarket, String dCredit, int dCorpno) {
		this.dName = dName;
		this.dId = dId;
		this.dBirth = dBirth;
		this.dSecurityno = dSecurityno;
		this.dAddr = dAddr;
		this.dTel = dTel;
		this.dCp = dCp;
		this.dOnmarket = dOnmarket;
		this.dCredit = dCredit;
		this.dCorpno = dCorpno;
	}
	
	
	public void buyMember() { }
	public void buyMember(String bName, String bId, String bBirth, int bSecurityno, String bAddr, int bTel, int bCp) {
		this.bName = bName;
		this.bId = bId;
		this.bBirth = bBirth;
		this.bSecurityno = bSecurityno;
		this.bAddr = bAddr;
		this.bTel = bTel;
		this.bCp = bCp;
	}
	
	public void setBname(String bName) {
		this.bName = bName;
	}
	public String getBname() {
		return bName;
	}
	
	public void setBid(String bId) {
		this.bId = bId;
	}
	public String getBid() {
		return bId;
	}
	
	public void setBbirth(String bBirth) {
		this.bBirth = bBirth;
	}
	public String getBbirth() {
		return bBirth;
	}
	
	public void setBsecurityno(int bSecurityno) {
		this.bSecurityno = bSecurityno;
	}
	public int getBsecurityno() {
		return bSecurityno;
	}
	
	public void setBaddr(String bAddr) {
		this.bAddr = bAddr;
	}
	public String getBaddr() {
		return bAddr;
	}
	
	public void setBtel(int bTel) {
		this.bTel = bTel;
	}
	public int getBtel() {
		return bTel;
	}
	
	public void setBcp(int bCp) {
		this.bCp = bCp;
	}
	public int getBcp() {
		return bCp;
	}
	
	
	public void dealerMember() { }
	public void dealerMember(String dName, String dId, String dBirth, int dSecurityno, String dAddr, int dTel, int dCp, String dOnmarket, String dCredit, int dCorpno) {
		this.dName = dName;
		this.dId = dId;
		this.dBirth = dBirth;
		this.dSecurityno = dSecurityno;
		this.dAddr = dAddr;
		this.dTel = dTel;
		this.dCp = dCp;
		this.dOnmarket = dOnmarket;
		this.dCredit = dCredit;
		this.dCorpno = dCorpno;
	}
	
	public void setDname(String dName) {
		this.dName = dName;
	}
	public String getDname() {
		return dName;
	}
	
	public void setDid(String dId) {
		this.dId = dId;
	}
	public String getDid() {
		return dId;
	}
	
	public void setDbirth(String dBirth) {
		this.dBirth = dBirth;
	}
	public String getDbirth() {
		return dBirth;
	}
	
	public void setDsecurityno(int dSecurityno){
		this.dSecurityno = dSecurityno;
	}
	public int getDsecurityno() {
		return dSecurityno;
	}
	
	public void setDaddr(String dAddr) {
		this.dAddr = dAddr;
	}
	public String getDaddr() {
		return dAddr;
	}
	
	public void setDtel(int dTel){
		this.dTel = dTel;
	}
	public int getDtel() {
		return dTel;
	}
	
	public void setDcp(int dCp) {
		this.dCp = dCp;
	}
	public int getDcp() {
		return dCp;
	}
	
	public void setDonmarket(String dOnmarket) {
		this.dOnmarket = dOnmarket;
	}
	public String getDonmarket() {
		return dOnmarket;
	}
	
	public void setDcredit(String dCredit) {
		this.dCredit = dCredit;
	}
	public String getDcredit() {
		return dCredit;
	}
	
	public void setDcorpno(int dCorpno) {
		this.dCorpno = dCorpno;
	}
	public int getDcorpno() {
		return dCorpno;
	}
	
	@Override
	public String toString() {
		result += "일반구매회원 이름 : " + bName;
		result += "일반구매회원 아이디 : " + bId;
		result += "일반구매회원 생년월일 : " + bBirth;
		result += "일반구매회원 주민번호 : " + bSecurityno;
		result += "일반구매회원 주소 : " + bAddr;
		result += "일반구매회원 전화번호 : " + bTel;
		result += "일반구매회원 핸드폰번호 : " + bCp;
		return result;
	}
	
	public String toString2() {
		result2 += "딜러구매회원 이름 : " + dName;
		result2 += "딜러구매회원 아이디 : " + dId;
		result2 += "딜러구매회원 생년월일 : " + dBirth;
		result2 += "딜러구매회원 주민번호 : " + dSecurityno;
		result2 += "딜러구매회원 주소 : " + dAddr;
		result2 += "딜러구매회원 전화번호 : " + dTel;
		result2 += "딜러구매회원 핸드폰번호 : " + dCp;
		result2 += "딜러구매회원 매물목록 : " + dOnmarket;
		result2 += "딜러구매회원 신용등급 : " + dCredit;
		result2 += "딜러구매회원 소속회사 연락처 : " + dCorpno;
		return result2;
	}
	
	
}

class Car {
	
}

class Deal {
	
}



